package com.jiepos.mpos.common.entity;

/**
 * 机构业务参数保存实体(只在保存操作使用)
 * @author Zhao.Jinkui
 * @version 1.0
 * @ProjectName: mpos
 * @Package com.jiepos.mpos.common.entity
 * @ClassName InsParamSaveEntity
 * @history
 * @UpdateRemark []
 * @since 2017/10/10
 */
public class InsParamSaveEntity {
    /**
     * 机构主键
     */
    private String ins_uuid;
    /**
     * 业务主键
     */
    private String service_uuid;
    /**
     * 业务参数主键
     */
    private String service_param_uuid;
    //业务参数公共部分
    /**
     * 营业日期
     */
    private String begdate;
    /**
     * 营业时间
     */
    private String begtime;
    /**
     * 停业日期
     */
    private String enddate;
    /**
     * 停业时间
     */
    private String endtime;
    /**
     * 默认金额
     */
    private Double default_amount;
    /**
     * 最小金额
     */
    private Double min_amount;
    /**
     * 最大金额
     */
    private Double max_amount;

    private App_Ins_Service_ParamEntity appInsServiceParamEntity1;
    private App_Ins_Service_ParamEntity appInsServiceParamEntity2;
    private App_Ins_Param_LimitEntity appInsParamLimitEntity12;
    private App_Ins_Param_LimitEntity appInsParamLimitEntity11;
    private App_Ins_Param_LimitEntity appInsParamLimitEntity22;
    private App_Ins_Param_LimitEntity appInsParamLimitEntity21;

    public App_Ins_Service_ParamEntity getAppInsServiceParamEntity1() {
        return appInsServiceParamEntity1;
    }

    public void setAppInsServiceParamEntity1(App_Ins_Service_ParamEntity appInsServiceParamEntity1) {
        this.appInsServiceParamEntity1 = appInsServiceParamEntity1;
    }

    public App_Ins_Service_ParamEntity getAppInsServiceParamEntity2() {
        return appInsServiceParamEntity2;
    }

    public void setAppInsServiceParamEntity2(App_Ins_Service_ParamEntity appInsServiceParamEntity2) {
        this.appInsServiceParamEntity2 = appInsServiceParamEntity2;
    }

    public App_Ins_Param_LimitEntity getAppInsParamLimitEntity12() {
        return appInsParamLimitEntity12;
    }

    public void setAppInsParamLimitEntity12(App_Ins_Param_LimitEntity appInsParamLimitEntity12) {
        this.appInsParamLimitEntity12 = appInsParamLimitEntity12;
    }

    public App_Ins_Param_LimitEntity getAppInsParamLimitEntity11() {
        return appInsParamLimitEntity11;
    }

    public void setAppInsParamLimitEntity11(App_Ins_Param_LimitEntity appInsParamLimitEntity11) {
        this.appInsParamLimitEntity11 = appInsParamLimitEntity11;
    }

    public App_Ins_Param_LimitEntity getAppInsParamLimitEntity22() {
        return appInsParamLimitEntity22;
    }

    public void setAppInsParamLimitEntity22(App_Ins_Param_LimitEntity appInsParamLimitEntity22) {
        this.appInsParamLimitEntity22 = appInsParamLimitEntity22;
    }

    public App_Ins_Param_LimitEntity getAppInsParamLimitEntity21() {
        return appInsParamLimitEntity21;
    }

    public void setAppInsParamLimitEntity21(App_Ins_Param_LimitEntity appInsParamLimitEntity21) {
        this.appInsParamLimitEntity21 = appInsParamLimitEntity21;
    }

    //同步更新
    public String getIns_uuid() {
        return ins_uuid;
    }

    public void setIns_uuid(String ins_uuid) {
        this.ins_uuid = ins_uuid;
        appInsServiceParamEntity1.setIns_uuid(ins_uuid);
        appInsServiceParamEntity2.setIns_uuid(ins_uuid);
        appInsParamLimitEntity12.setIns_uuid(ins_uuid);
        appInsParamLimitEntity11.setIns_uuid(ins_uuid);
        appInsParamLimitEntity22.setIns_uuid(ins_uuid);
        appInsParamLimitEntity21.setIns_uuid(ins_uuid);
    }

    public String getService_uuid() {
        return service_uuid;
    }

    public void setService_uuid(String service_uuid) {
        this.service_uuid = service_uuid;
        appInsServiceParamEntity1.setService_uuid(service_uuid);
        appInsServiceParamEntity2.setService_uuid(service_uuid);
        appInsParamLimitEntity12.setService_uuid(service_uuid);
        appInsParamLimitEntity11.setService_uuid(service_uuid);
        appInsParamLimitEntity22.setService_uuid(service_uuid);
        appInsParamLimitEntity21.setService_uuid(service_uuid);
    }

    public String getService_param_uuid() {
        return service_param_uuid;
    }

    public void setService_param_uuid(String service_param_uuid) {
        this.service_param_uuid = service_param_uuid;
        appInsServiceParamEntity1.setService_param_uuid(service_param_uuid);
        appInsServiceParamEntity2.setService_param_uuid(service_param_uuid);
        appInsParamLimitEntity12.setService_param_uuid(service_param_uuid);
        appInsParamLimitEntity11.setService_param_uuid(service_param_uuid);
        appInsParamLimitEntity22.setService_param_uuid(service_param_uuid);
        appInsParamLimitEntity21.setService_param_uuid(service_param_uuid);
    }

    public String getBegdate() {
        return begdate;
    }

    public void setBegdate(String begdate) {
        this.begdate = begdate;
        appInsServiceParamEntity1.setBegdate(begdate);
        appInsServiceParamEntity2.setBegdate(begdate);
    }

    public String getBegtime() {
        return begtime;
    }

    public void setBegtime(String begtime) {
        this.begtime = begtime;
        appInsServiceParamEntity1.setBegtime(begtime);
        appInsServiceParamEntity2.setBegtime(begtime);
    }

    public String getEnddate() {
        return enddate;
    }

    public void setEnddate(String enddate) {
        this.enddate = enddate;
        appInsServiceParamEntity1.setEnddate(enddate);
        appInsServiceParamEntity2.setEnddate(enddate);
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
        appInsServiceParamEntity1.setEndtime(endtime);
        appInsServiceParamEntity2.setEndtime(endtime);
    }

    public Double getDefault_amount() {
        return default_amount;
    }

    public void setDefault_amount(Double default_amount) {
        this.default_amount = default_amount;
        appInsServiceParamEntity1.setDefault_amount(default_amount);
        appInsServiceParamEntity2.setDefault_amount(default_amount);
    }

    public Double getMin_amount() {
        return min_amount;
    }

    public void setMin_amount(Double min_amount) {
        this.min_amount = min_amount;
        appInsServiceParamEntity1.setMin_amount(min_amount);
        appInsServiceParamEntity2.setMin_amount(min_amount);
    }

    public Double getMax_amount() {
        return max_amount;
    }

    public void setMax_amount(Double max_amount) {
        this.max_amount = max_amount;
        appInsServiceParamEntity1.setMax_amount(max_amount);
        appInsServiceParamEntity2.setMax_amount(max_amount);
    }
}
